package org.ant.gui.panes.ACtextpanel.types;

import javax.swing.text.SimpleAttributeSet;

public abstract class TokenType {
	
	private String name;
	private SimpleAttributeSet attributes ;
	
	public TokenType(String name, SimpleAttributeSet attributes) {
		super();
		this.name = name;
		this.attributes = attributes;
	}
	
	abstract public boolean isType(String token);
		

	public String getName() {
		return name;
	}


	public SimpleAttributeSet getAttributes() {
		return attributes;
	}
	
	
	
		
}
